//
// Created by Thomas on 20.04.2024.
//

#include "Identifiable.h"
#include "nanoid/nanoid.h"

std::string Identifiable::getId() { return id; }

Identifiable::Identifiable() {
    id = nanoid::generate("1234567890ABCDEFG", 4);
}

void Identifiable::setId(const std::string &id) {
    this->id = id;
}
